package nl.vu.few.ibivu.biomodels.client.ui.view;

import nl.vu.few.ibivu.biomodels.shared.AuthenticationProvider;
import nl.vu.few.ibivu.biomodels.shared.UserInfo;

import com.google.gwt.user.client.ui.IsWidget;

public interface GatewayView extends IsWidget {
	void setPresenter(Presenter presenter);
	void setUserInfo(UserInfo userInfo);
	
	public interface Presenter extends nl.vu.few.ibivu.biomodels.client.presenter.Presenter {
		UserInfo updateUserInfo();
		void login(AuthenticationProvider provider);
		void logout();
	}
}
